package com.shangting.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shangting.common.entity.ViewAppointment;
import com.shangting.common.enums.AppointmentStatus;
import com.shangting.web.vo.appointment.AppointmentQueryVo;
import com.shangting.web.vo.appointment.AppointmentVo;

/**
 * @author liubo
 * @description 针对表【view_appointment(预约看房信息表)】的数据库操作Mapper
 * @createDate 2023-07-24 15:48:00
 * @Entity com.atguigu.lease.model.ViewAppointment
 */
public interface ViewAppointmentMapper extends BaseMapper<ViewAppointment> {

    IPage<AppointmentVo> pageItem(IPage<AppointmentVo> appointmentVoIPage, AppointmentQueryVo queryVo);

    void updateAppointmentStatus(Long id, AppointmentStatus status);
}




